home *** CD-ROM | disk | FTP | other *** search
- !!Script
- // Copyright ⌐ 1997-2000 - Modelworks Software
-
- // Insert script helper for:
-
- /**
- @Object: static Application
- @Method: selectWorkspaceTab(index | name) selects a tab (view) in the workspace panel.
- @Syntax: Application.selectWorkspaceTab(index | name)
- @Summary: selectWorkspaceTab - selects a tab (view) in the workspace panel
- */
-
-
- function DoCommand()
- {
- var editor = getActiveEditor();
- if (editor)
- {
- var selection = editor.getSelection();
- editor.replace("Application.selectWorkspaceTab(index | name)", selection);
- editor.setActive("Insert Application.selectWorkspaceTab");
- }
- }
-
- !!/Script
-